package com.lhy.vaccine_admin.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("user")
public class UserVo implements Serializable {

    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer id;

    @JsonProperty
    @TableField("u_name")
    private String name;

    @JsonProperty
    @TableField("u_province")
    private String province;

    @JsonProperty
    @TableField("u_city")
    private String city;

    @JsonProperty
    @TableField("u_region")
    private String region;

    @JsonProperty
    @TableField("u_phone")
    private String phone;

    @JsonProperty
    @TableField("u_telephone")
    private String telephone;

    @JsonProperty
    @TableField("u_gender")
    private String gender;
}
